home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / infosrvr / dev / www_talk.930 / 001409_daemon _Wed Jun 23 20:44:39 1993.msg < prev    next >
Internet Message Format  |  1994-01-24  |  3KB

  1. Received: by  nxoc01.cern.ch  (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
  2.     id AA01606; Wed, 23 Jun 93 20:44:41 MET DST
  3. Return-Path: <timbl@www3.cern.ch>
  4. Received: from dxmint.cern.ch by  nxoc01.cern.ch  (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
  5.     id AA01602; Wed, 23 Jun 93 20:44:39 MET DST
  6. Received: from www3.cern.ch by dxmint.cern.ch (5.65/DEC-Ultrix/4.3)
  7.     id AA19429; Wed, 23 Jun 1993 21:07:47 +0200
  8. Received: by www3.cern.ch (NX5.67c/NX3.0S)
  9.     id AA01194; Wed, 23 Jun 93 21:06:09 +0200
  10. Date: Wed, 23 Jun 93 21:06:09 +0200
  11. From: Tim Berners-Lee <timbl@www3.cern.ch>
  12. Message-Id: <9306231906.AA01194@www3.cern.ch>
  13. To: www-talk@nxoc01.cern.ch
  14. Subject: libwww 2.09: Executable documents and binary FTP
  15.  
  16.  
  17. The just released incremental version of the WWW common
  18. code library addresses two things recently discussed on
  19. this list. One is the selection of the proper transfer mode
  20. for FTP, and the other is how to make executable scripts.
  21.  
  22. The problem with FTP is that the client MUST select the
  23. correct mode (Ascii or Image) wheras the server (presumably)
  24. knows what the format is. The client guesses the content-type
  25. from the file suffix.  It now also guesses the encoding
  26. as well.  It will therefore select A for .txt files and I
  27. for .Z files, and so get the right results even with
  28. Macs and non-ASCII servers around.  The suffix table
  29. can be set up in the client's rule file, if it is used with
  30. one.
  31.  
  32. The executable scripts problem I viewed as another format
  33. negotiation problem.  It is easier to set up the suffix table
  34. and the command you want executed for given content types.
  35. Its all in the rule file.  If you are rash enough to put in
  36.  
  37.    presentation   application/x-csh   "csh %s"
  38.  
  39. into your client rule file, then you can try out the
  40. example script in the test data linked to the
  41. test page ... 
  42. http://www3.cern.ch/hypertext/WWW/Test/Executable/test1.execme.csh
  43. if I remember rightly.
  44.  
  45. Obviously this is just a hook.  A script which previews it or
  46. at least asks would be more reasonable.
  47.  
  48. I used application/x-csh rather than inventing exec/x-csh as I
  49. think this is more in the MIME spirit.
  50. The competition is obviously on for portable
  51. 1. safe scripting language for general use
  52. 2. timed presentation language (HyTime based?) for
  53.    illustrated talks which give themselves.
  54.  
  55. I seem to have got off the topic of the release...
  56. Other things...
  57. Of course I would expect X clients to load rules from the
  58. Xresource database too -- by calling HTSetConfiguration().
  59. Similarly other platform-specific sources of initilisation
  60. information.
  61.  
  62. Tim BL
  63. CERN